{*
%%%copyright%%%
 * phpMyTicket - ticket reservation system
 * Copyright (C) 2004-2005 Anna Putrino, Stanislav Chachkov. All rights reserved.
 *
 * This file is part of phpMyTicket.
 *
 * This file may be distributed and/or modified under the terms of the
 * "GNU General Public License" version 2 as published by the Free
 * Software Foundation and appearing in the file LICENSE included in
 * the packaging of this file.
 *
 * Licencees holding a valid "phpmyticket professional licence" version 1
 * may use this file in accordance with the "phpmyticket professional licence"
 * version 1 Agreement provided with the Software.
 *
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING
 * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE.
 *
 * The "phpmyticket professional licence" version 1 is available at
 * http://www.phpmyticket.com/ and in the file
 * PROFESSIONAL_LICENCE included in the packaging of this file.
 * For pricing of this licence please contact us via e-mail to 
 * info@phpmyticket.com.
 * Further contact information is available at http://www.phpmyticket.com/
 *
 * The "GNU General Public License" (GPL) is available at
 * http://www.gnu.org/copyleft/gpl.html.
 *
 * Contact info@phpmyticket.com if any conditions of this licencing isn't 
 * clear to you.
 
 *}
{include file="cart_content.tpl" check_out="on"}
{assign var=total value=$cart->total_price_f()}
<br>
<table class="table_trans">
  <tr>
  	<td width="50%" valign="top" align="left">
  	{include file="user_address.tpl" title="on"}
  	</td>
  	<td valign='top' align="right">
  	<div class='small_div_dark'>
	  <table class="small_table_dark">
	  
	  	<form action='kasse.php' method='post' name='handling' onSubmit='this.submit.disabled=true;return true;'>
		<input type='hidden' name='action' value='order'>
		<tr>
		<!--td rowspan='4'><img src='images/dot.gif' width='1' height='100'></td-->
		  <td colspan='3' class='title' align='left'>{#handlings#}</td>
		</tr>
		{assign var=min_date value=$cart->min_date_f()}
		{handling www='on' event_date=$min_date }
		<tr>
		  <td class='payment_form'>
		  <input checked="checked" type='radio' id='{$shop_handling.handling_id}_check' class='checkbox_dark' name='handling' value='{$shop_handling.handling_id}'>
		  </td>
		  <td class='payment_form'>
		  	<label for='{$shop_handling.handling_id}_check'>
		  	{#payment#}: {eval var=$shop_handling.handling_text_payment}<br>
		  	{#shipment#}: {eval var=$shop_handling.handling_text_shipment}
		  	</label>
		  </td>
		  <td class='payment_form'>
			{assign var=fee value="`$total*$shop_handling.handling_fee_percent/100.00+$shop_handling.handling_fee_fix`"} + {$fee|string_format:"%.2f"} {$organizer_currency}
		  </td>
		</tr>
		  {/handling}
		  {* /payment *}
		<tr>
		  <td colspan='3' align='center'>
		  	<input type='submit' name='submit' value='{#order_it#}'>
		  </td>
		</tr>
		</form>
		{update->view event_date=$min_date }
		{if $update_view.can_reserve }
		<tr>
		  <td colspan="3" align="center">
		  	Or Click below to:
		    <form action='kasse.php' method='post' name='handling' onSubmit='this.submit.disabled=true;return true;'>
  			<input type="hidden" name='handling' value='1'>
  			<input type='submit' name='submit_reserve' value='Reserve Tickets'>
  			<input type='hidden' name='action' value='reserve'>
  			</form>
		  </td>
		</tr>
		{/if}
	  </table>
	</div>
	</td>
  </tr>
</table>
